<!--[*
// ----------------------------------------------------------------------
// Source file:  $Source: /cvsroot/pn-commerce/pn-commerce/pntemplates/pncommerce_pmgeneric_configuration.html,v $
//
// Last changes from:  $Author: landseer $
//
// Revision:           $Revision: 1.9 $
//
// Date of revision    $Date: 2005/03/21 16:16:51 $
//
// ----------------------------------------------------------------------
*]-->

<!--[ include file='pncommerce_admin_commonHeader.html' ]-->
<!-- start pmgeneric_configuration -->

<table>
    <tr>
        <td>
            <form action='<!--[ pncModURL type=pmgenericapi func=config ]-->' method='post'>
 <!--IMPORTANT!-->
<input type="hidden" name="authid" value="<!--[pnsecgenauthkey module="pncommerce"]-->">
            <!-- Show existing Companies -->		
            <!--[ foreach item=config from=$pmgenericconfig ]-->
            <!--[ if $config.name <> 'new' ]-->
<fieldset>
    <legend>
        <!--[ pnml name='_PNC_CONFIGOF' html=1]--> <!--[ $config.name html=1]-->
    </legend>			
	  	    <input type='hidden' name='name_<!--[ $config.name ]-->' value='<!--[ $config.name ]-->'>
	  	    <table>
	            <tr>
	                <td align='right'>
	                    <!--[ pnml name='_PNC_DESCRIPTION' html=1]-->
	                </td>
	                <td>	
                        <input type='text' name='Description_<!--[ $config.name ]-->' value='<!--[ $config.Description ]-->' size='25'>
                    </td>
                </tr>
	            <tr>
	                <td align='right'>
	                    <!--[ pnml name='_PNC_FOOTERMSG' html=1]-->
	                </td>
	                <td>	
                        <input type='text' name='Footermsg_<!--[ $config.name ]-->' value='<!--[ $config.Footermsg ]-->' size='25'>
                    </td>
                </tr>
	            <tr>
	                <td rowspan='2' align='right'>
                        <input type='checkbox' name='remove_<!--[ $config.name ]-->' value='true'><!--[ pnml name='_PNC_REMOVE' ]-->
                    </td>
                </tr>
	  	    </table>
	        <!--[ pnml name='_PNC_SELECTCALCFUNCBELOW' html=1]--><br>
            <!--[ include file='pncommerce_admin_pmcalclist.html' ]-->
</fieldset>			
	        <hr width='100%' size='1' noshade><br>
            <!--[ /if ]-->
            <!--[ /foreach ]-->
<!--
	        //now we have to generate a list of companies that makes it easier for us to go through the result later.
	        array_push($companies,$paymethod['name']);					
-->
<!--
        //We offer one new paymethod per call
        //This will be shown in the existing categories section after a submit
        //when no name has been entered this will be ignored
        //it is not possible to change a name, it's just a description
        //(we can enable name change later, but not yet)
-->
<fieldset>
    <legend>
        <!--[ pnml name='_PNC_ADDNEWPAYMENT' html=1]-->
    </legend>
            <!--[ pnml name='_PNC_CANNOTCHANGENAMELATER' html=1]--><br>
	  		<table>
                <tr>
                    <td align='right'>
                        <!--[ pnml name='_PNC_NAME' html=1]-->
                    </td>
                    <td>
                    	<input type='text' name='name_new' value='' size='25'>
                    </td>
                </tr>
                <tr>
                    <td align='right'>
                        <!--[ pnml name='_PNC_DESCRIPTION' html=1]-->
                    </td>
                    <td>
                    	<input type='text' name='Description_new' value='' size='25'>
                    </td>
                </tr>
                <tr>
                    <td align='right'>
                        <!--[ pnml name='_PNC_FOOTERMSG' html=1]-->
                    </td>
                    <td>
                    	<input type='text' name='Footermsg_new' value='' size='25'>
                    </td>
                </tr>
            </table>
            <!--[ pnml name='_PNC_SELECTCALCFUNCBELOW' html=1]--><br>

            <!--[ include file='pncommerce_admin_pmcalclist.html' ]-->        
            <input name='Submit' type='Submit' value='<!--[ pnml name='_PNC_SUBMIT' ]-->' >
	  	</td>
    </tr>
</table>
</form>
</fieldset>

<!-- end pmgeneric_configuration -->
<!--[ include file='pncommerce_admin_commonFooter.html' ]-->